import { http } from '../service';

const prefix = '/system/Rest/msg';
// 查询消息
export function getMsgDetailPage(params: any) {
  return http.middleware({
    url: `${prefix}/getMsgDetailPage`,
    method: 'GET',
    params,
  });
}
// 消息标为已读
export function msgUpdateRead(data: any) {
  return http.middleware({
    url: `${prefix}/updateRead`,
    method: 'POST',
    data,
  });
}
